package com.jintian.smart.base.api.oa.form;

import com.jintian.smart.kernel.core.domain.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 查询企业员工
 */
@Data
public class EnterpriseEmployeeQueryForm extends PageRequest {

    @Schema(description = "搜索词")
    @Length(max = 20, message = "搜索词最多20字符")
    private String keyword;

    @Schema(description = "公司Id")
    @NotNull(message = "公司id 不能为空")
    private Long enterpriseId;

    @Schema(description = "删除标识", hidden = true)
    private Integer deletedFlag;

}
